package com.cn.jiyun;




import com.cn.jiyun.entity.pojo.Strategy;
import com.jiyun.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "you-service")
public interface YouClient {
    @RequestMapping("/you/findAll")
    public Result<List<Strategy>> findAll();
    @RequestMapping("/you/findid")
    public Result<Strategy> findid(Integer strategyId);
}
